package xin.cymall.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
import java.util.Map;

import xin.cymall.dao.SysJobDao;
import xin.cymall.entity.SysJob;
import xin.cymall.service.SysJobService;




@Service("sysJobService")
@Transactional
public class SysJobServiceImpl implements SysJobService {
	@Autowired
	private SysJobDao sysJobDao;
	
	@Override
	public SysJob get(String id){
		return sysJobDao.get(id);
	}

	@Override
	public List<SysJob> queryList(Map<String, Object> map){
		return sysJobDao.queryList(map);
	}

	@Override
	public int queryTotal(Map<String, Object> map){
		return sysJobDao.queryTotal(map);
	}

	@Override
	public void save(SysJob sysJob){
		sysJobDao.save(sysJob);
	}

	@Override
	public void update(SysJob sysJob){
		sysJobDao.update(sysJob);
	}

	@Override
	public void delete(String id){
		sysJobDao.delete(id);
	}

	@Override
	public void deleteBatch(String[] ids){
		sysJobDao.deleteBatch(ids);
	}

}
